package org.sean.fugao.data.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class PurchaseHistoryDetail implements Serializable{

	private Integer purchaseDetailId; // INT(11) NOT NULL AUTO_INCREMENT ,
	private PurchaseHistory purchaseHistory; // INT(11) NOT NULL ,
	private ConsumeInventory inventoryItem; // INT(11) NOT NULL ,
	private BigDecimal unitPrice = BigDecimal.ONE; // DEFAULT '1.00' ,
	private Integer count = 1; // INT(11) NOT NULL DEFAULT '1' ,
	private BigDecimal summaryAmount = BigDecimal.ONE; // DEFAULT '1.00' ,

	public Integer getPurchaseDetailId() {
		return purchaseDetailId;
	}

	public void setPurchaseDetailId(Integer purchaseDetailId) {
		this.purchaseDetailId = purchaseDetailId;
	}

	public PurchaseHistory getPurchaseHistory() {
		return purchaseHistory;
	}

	public void setPurchaseHistory(PurchaseHistory purchaseHistory) {
		this.purchaseHistory = purchaseHistory;
	}

	public ConsumeInventory getInventoryItem() {
		return inventoryItem;
	}

	public void setInventoryItem(ConsumeInventory inventoryItem) {
		this.inventoryItem = inventoryItem;
	}

	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public BigDecimal getSummaryAmount() {
		return summaryAmount;
	}

	public void setSummaryAmount(BigDecimal summaryAmount) {
		this.summaryAmount = summaryAmount;
	}
}
